import java.util.Scanner;

public class REPLACE {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str =
                "[\n" +
                        "  [1,   4,  7, 11, 15],\n" +
                        "  [2,   5,  8, 12, 19],\n" +
                        "  [3,   6,  9, 16, 22],\n" +
                        "  [10, 13, 14, 17, 24],\n" +
                        "  [18, 21, 23, 26, 30]\n" +
                        "]";
                str = str.replace('[','{');
                str = str.replace(']','}');
        System.out.println(str);
    }
}